package com.zzl.gulimall.member.feign;

import com.zzl.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Title: CouponApi.class<br>
 * Description: <br>
 * Copyright (c)  2021    <br>
 * Create DateTime: 2021/9/7 11:41 <br>
 *
 * @author zhuangzhuangliang
 */
@FeignClient("gulimall-coupon")
public interface CouponApi {

    /**
     * 测试feign
     * @return
     */
    @GetMapping("/coupon/coupon/member")
    R getMemberCoupons();
}
